import styled from "styled-components";
export const HotCommentWrapper = styled.div`
  position: relative;
  padding: 20px 0 60px 0;
  .title {
    height: 23px;
    line-height: 23px;
    padding: 0 10px;
    font-size: 12px;
    color: #666;
    background-color: #eeeff0;
    display: ${props => (props.title ? "" : "none")};
  }
  .cmt-item {
    padding-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    .cmt-bd {
      position: relative;
      padding-right: 10px;
      padding-bottom: 11px;
      -webkit-box-flex: 1;
      flex: auto;
      width: 0;
      .cmt-bd-content {
        position: relative;
        color: ${props => props.theme};
        font-size: 15px;
        line-height: 22px;
        margin-top: 5px;
      }
      .cmt-bd-header {
        display: flex;
        flex-direction: row;
        .cmt-meta {
          -webkit-flex: auto;
          flex: auto;
          width: 0;
          font-size: 0;
          .cmt-user {
            font-size: 14px;
            color: ${props => props.l};
            line-height: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: auto;
          }
          .cmt-time {
            font-size: 9px;
            color: ${props => props.ll};
          }
        }
        .cmt-like {
          width: 65px;
          height: 22px;
          line-height: 22px;
          font-size: 11px;
          color: ${props => props.l};
          -webkit-flex: none;
          -webkit-box-flex: 0;
          flex: none;
          text-align: right;
          .cmt-count {
            vertical-align: middle;
          }
          .cmt-likeicon {
            display: inline-block;
            width: 14px;
            height: 14px;
            margin-left: 6px;
            line-height: 0;
            vertical-align: middle;
            cursor: pointer;
          }
        }
      }
    }
    .cmt-head {
      margin: 0 10px;
      -webkit-flex: none;
      -webkit-box-flex: 0;
      flex: none;
      height: 35px;

      img {
        display: block;
        border-radius: 50%;
        width: 30px;
        height: 30px;
      }
    }
  }
  width: 100%;
`;
